﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Web.Framework.Controls;
using Web.Framework.Translate;

namespace Web.PuntoDeVenta.Code.FrontEnd
{
    public class VentaDetalle
    {
        public static List<ColumnMetadata> ColumnMetadata = new List<ColumnMetadata>()
            {                
                 new ColumnMetadata() { ColumnNameProperty = "CodigoProducto", ColumnDescription=LocalizationProvider.Instance["Venta.CodigoProducto"], Order = 1, Visible = true},
                 new ColumnMetadata() { ColumnNameProperty = "Descripcion", ColumnDescription=LocalizationProvider.Instance["Venta.Descripcion"], Order = 2, Visible = true},
                 new ColumnMetadata() { ColumnNameProperty = "Cantidad", ColumnDescription=LocalizationProvider.Instance["Venta.Cantidad"], Order = 3, Visible = true, FormatString="0"},
                 new ColumnMetadata() { ColumnNameProperty = "Monto", ColumnDescription=LocalizationProvider.Instance["Venta.Monto"], Order = 4, Visible = true, FormatString="$0.00;$-0.00"},
            };

        public string CodigoProducto { get; set; }

        public decimal? Monto { get; set; }

        public decimal? Cantidad { get; set; }

        public string Descripcion { get; set; }
    }
}